<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;
use think\model\concern\SoftDelete;

/**
 * @property bool $scene 使用场景:1=指定商品,2=全场通用
 * @property bool $type 券类型:1=满减,2=无门槛
 * @property float $amount 优惠金额
 * @property float $with_amount 满足金额
 * @property int $deletetime
 * @property int $expire_day 领取失效天数
 * @property int $goods_id 指定商品
 * @property int $id
 * @property int $num 券数量
 * @property string $createtime
 * @property string $mark 备注
 * @property string $name 券名称
 * @method static \think\db\Query onlyTrashed()
 * @method static \think\db\Query withTrashed()
 * @mixin \think\Model
 */
class GoodsCoupon extends Model
{
	use SoftDelete;
	//
	protected $createTime = 'createtime';
	protected $deleteTime = 'deletetime';
}
